<template>
  <el-card shadow="never">
    <el-tabs v-model="tabsActiveName" >
      <el-tab-pane lazy :label="$t('数据用户短信营销')" name="1" v-if="$permiss[1233]">
          <DataUserSms/>
      </el-tab-pane>
      <el-tab-pane lazy :label="$t('共享用户短信营销')" name="2" v-if="$permiss[1234]">
        <ShareUserSms/>
      </el-tab-pane>
      <el-tab-pane lazy :label="$t('复借用户短信营销')" name="3" v-if="$permiss[1235]">
        <OldUserSms/>
      </el-tab-pane>
      <el-tab-pane lazy :label="$t('流量用户短信营销')" name="4" v-if="$permiss[1289]">
        <FlowUserSms/>
      </el-tab-pane>
      <el-tab-pane lazy :label="$t('转换用户短信营销')" name="5" v-if="$permiss[1304]">
        <TransFormUserSms/>
      </el-tab-pane>
    </el-tabs>
  </el-card>
</template>

<script>
import DataUserSms from './dataUserSms'
import OldUserSms from './oldUserSms'
import ShareUserSms from './shareUserSms'
import FlowUserSms from './flowUserSms';
import TransFormUserSms from "./transFormUserSms";

export default {
  name: "WhileSmsMarketing",
  components: {
    DataUserSms,
    OldUserSms,
    ShareUserSms,
    FlowUserSms,
    TransFormUserSms
  },
  data() {
    return {
      tabsActiveName: '1',
      tabsList: []
    }
  },
}
</script>

<style scoped>

</style>
